package com.store.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.store.domain.R;
import com.store.domain.entity.Category;

/**
 * 分类表(Category)表服务接口
 *
 * @author yu
 * @since 2024-06-26 01:12:42
 */
public interface CategoryService extends IService<Category> {

    R getCategoryPage(Integer pageNum, Integer pageSize, String name);

    R getAllCategory();

    R addCategory(Category category);

    R deleteCategory(Integer[] ids);

    R getCategoryById(Integer id);

    R updateCategory(Category category);
}


